package cloud.maque.module.system.service;

import cloud.maque.module.system.entity.SysUserDept;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserDeptService extends IService<SysUserDept> {

    List<SysUserDept> GetList(SysUserDept data);

    SysUserDept SaveUserDept(SysUserDept data);

    void SaveBatch(List<SysUserDept> data);

    Boolean DeleteByDeptId(String deptId);

    Boolean DeleteByUserId(String userId);

}